const state = {
    price: 0
}
const mutations = {
    add(state) {
        state.price += 10;
    }

};
const actions = {
    sum({
        commit
    }) {
        setInterval(() => {
            commit('add');
        }, 1000);
    }
}
const getters = 0;
export default {
    state,
    mutations,
    actions,
    getters
}